import request from '@/utils/request.js'

// 新增管理员的接口
export const addAdminApi = (data) => request.post('/api/admin', data);

// 获取角色列表的接口
export const getAdminListApi = (data) => request.get('/api/admin', data);